//
//  LoginViewController.m
//  xxShare
//
//  Created by 柳麟喆 on 2018/3/25.
//  Copyright © 2018年 lzLiu. All rights reserved.
//

#import "LoginViewController.h"
#import "RealLoginViewController.h"
#import "RegisterViewController.h"

@interface LoginViewController ()

@end

@implementation LoginViewController


- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:YES];
    self.navigationController.navigationBarHidden = YES;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


- (IBAction)login:(UIButton *)sender {
    
    RealLoginViewController* login = [[RealLoginViewController alloc]initWithNibName:@"RealLoginViewController" bundle:[NSBundle mainBundle]];
//    login.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
//    [self presentViewController:login animated:YES completion:nil];
    [self.navigationController pushViewController:login animated:YES];
}

- (IBAction)register:(UIButton *)sender {
    RegisterViewController* reg = [[RegisterViewController alloc]init];
//    reg.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
//    [self presentViewController:reg animated:YES completion:nil];
    [self.navigationController pushViewController:reg animated:YES];
}
@end
